﻿using Common.CustAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXIMEW.Models.DModels
{
        [Table("RoleInfos")]
        [PrimaryKey("RoleId", autoIncrement = true)]
        public class RoleInfo
        {
                /// <summary>
                /// 角色编号
                /// </summary>
                public int RoleId { get; set; }
                /// <summary>
                /// 角色名称
                /// </summary>
                public string RoleName { get; set; }
                /// <summary>
                /// 描述
                /// </summary>
                public string Remark { get; set; }
                /// <summary>
                /// 是否是管理员角色
                /// </summary>
                public bool IsAdmin { get; set; }
                /// <summary>
                /// 是否已删除
                /// </summary>
                public int IsDeleted { get; set; }
                /// <summary>
                /// 创建时间
                /// </summary>
                public DateTime CreateTime { get; set; }
        }
}
